package guo.tts.service;

import java.util.List;

import guo.tts.dao.QueryDao;
import guo.tts.domain.Train;

public class QueryService {
	private QueryDao queryDao=new QueryDao();
	public List<Train> queryTrain(Train train){
		return queryDao.queryTrain(train);
	}
	public  List<Train> queryByTrainId(Train train){
		return queryDao.queryByTrainId(train);
		
	}
	

}
